@fontSize: 14px;

body {
  font-size: @fontSize;
}

input,
textarea {
  font-size: @fontSize;
}

.mui-bar {
  z-index: 999
}

.mui-content > .mui-table-view:first-child {
  margin-top: 0;
}

.mui-segmented-control .mui-control-item {
  line-height: 32px;
}

.container {
  display: -webkit-flex;
  -webkit-justify-content: space-around;
  /*margin: 20px 0 0 0;*/
}

/*alifont*/

.iconfont::before {
  width: 100%;
  position: absolute;
  top: 30%;
  text-align: center;
  font-size: 50px;
}

.icon-yusuan2::before {
  top: 28% !important;
}

/*alifont*/

.entry-link {
  position: relative;
  height: 100px;
  width: 100px;
  /*border-radius: 99%;*/
  /*border: 1px solid black;*/
  text-decoration: none;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 50%;

  > .text {
    text-decoration: none;
    display: block;
    width: 100%;
    position: absolute;
    /*top: 50%;*/
    bottom: 0;
    text-align: center;
    -webkit-transform: translateY(-50%);
    color: black;
    font-size: 14px;
  }
}

.fixed-wrapper {
  position: relative;
  height: 38px;
  z-index: 20;
}

.fixed-content {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}

.mui-btn {
  height: 32px;
  border-radius: 0;
}

.mui-bar .mui-title {
  color: #007aff !important;
}

.task-detail {
  .mui-input-row input {
    text-align: right;
  }

  .fixed-content .mui-btn {
    width: 50%;
    border: 0;
  }

  .mui-content {

    .mui-backdrop {
      opacity: 0;
      z-index: -1;
      -webkit-transition: .5s;

      .fixed-content {
        bottom: -50%;
        -webkit-transition: .5s;
      }
    }
  }

  .mui-backdrop.active {
    opacity: 1;
    z-index: 998;

    .fixed-content {
      bottom: 0;
    }
  }
}

#comment {
  border: 0;
  border-radius: 0;
  margin-bottom: -5px;
  border-bottom: 1px solid transparent;
  font-size: 14px;

  + .mui-button-row {
    padding-top: 0;
  }
}

/*timeline start*/

.timeline {
  position: relative;
  margin: 1em 0;
  padding: 0;
  list-style: none;

  &::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #ddd;
    left: 31px;
    margin: 0;
    border-radius: 2px;
  }

  > li {
    position: relative;
    margin-right: 10px;
    margin-bottom: 15px;
  }

  .time-label {
    font-weight: 600;
    padding: 5px;
    display: inline-block;
    background-color: #fff;
    border-radius: 4px;
  }

  .timeline-icon {
    width: 30px;
    height: 30px;
    font-size: 15px;
    line-height: 30px;
    position: absolute;
    background: #007aff;
    border-radius: 50%;
    text-align: center;
    left: 18px;
    top: 0;

    &::before {
      font-size: 20px;
      color: #fff;
    }
  }

  .timeline-item {
    box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
    border-radius: 3px;
    margin-top: 0;
    background: #fff;
    color: #444;
    margin-left: 60px;
    margin-right: 15px;
    padding: 0;
    position: relative;
  }

  .time {
    color: #999;
    float: right;
    padding: 10px;
    font-size: 12px;
  }

  .timeline-header {
    margin: 0;
    color: #555;
    border-bottom: 1px solid #f4f4f4;
    padding: 10px;
    font-size: 14px;
    line-height: 1.1;
  }

  .timeline-body {
    padding: 10px;
  }
}

/*timeline end*/

/*react-select*/
.Select-control {
  border-radius: 0;
}

.select-label {
  height: 36px;
  line-height: 36px;
  padding: 0 10px;
  width: 25%;
  border: 1px solid #ccc;
  border-right: 0;
  text-align: center;
  background: #fff;
  overflow: scroll;
}

.select-group {
  display: -webkit-box;
  display: -webkit-flex;
  margin: 10px;

  .Select {
    width: 75%;
  }
}

.Select-menu-outer {
  z-index: 30;
}

/*react-select end*/

.table-container {
  margin: 30px 0;
  /*max-height: 360px;;*/
  overflow: scroll;
  width: 100%;
  padding: 0 10px;

  th,
  td {
    border: 1px solid #1c2529;
    text-align: center;
    vertical-align: middle;
  }

  th {
    color: #fff;
    background: #0d6aad;
    min-width: 40px;
  }

  td {
    background: #fff;
    padding: 5px;
  }
}

.loading-container {
  text-align: center;

  .mui-spinner {
    position: absolute;
    top: 45%;
    left: 47%;
    width: 30px;
    height: 30px;
  }
}

.fixed-table {
  position: fixed;
  z-index: 10;

  thead tr {
    height: 87px;
  }
}

.scroll-table {
  position: relative;
  /*left: 245px;*/
}

.time-wrap {
  margin-top: 7px;
  height: 30px;
  line-height: 30px;
  border: 1px solid #007aff;
  width: 7rem;
  text-align: center;
  border-radius: 5px;
  position: absolute;
  color: #007aff;
  right: 10px;
  font-size: 0.75rem;

}

.red-date-wrap {
  margin-left: 10px;
  margin-top: 5px;
  width: 180px;
  input {
    border: 1px solid #007aff;
    height: 30px;
    color: #007aff;
  }

}

.chart-wrap {
  padding: 3px 3px;
}

.chart-border {

  border-left: 1px solid #d2d6de;
  border-right: 1px solid #d2d6de;
  border-bottom: 1px solid #d2d6de;
}

.chart-nav {
  background: white;
  height: 30px;
  width: 100%;
  border: 1px;
  border-left: 1px solid #d2d6de;
  border-right: 1px solid #d2d6de;
  border-top: 1px solid #d2d6de;
  border-bottom: 0.5px solid #d2d6de;
  .chart-next {
    float: right;
    height: 30px;
    line-height: 30px;
    width: 30px;
    color: #d2d6de;
    text-align: center;
    margin-right: 15px
  }
  .chart-pre {
    float: right;
    height: 30px;
    line-height: 30px;
    width: 30px;
    text-align: center;
    color: #d2d6de;
    margin-right: 15px
  }
}

body,
.mui-content {
  -webkit-overflow-scrolling: auto;
}

.mui-content {
  /*height: 667px;*/
  /*top: 44px;*/
  overflow: scroll;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
